<?php

/*
 * I know this look weired but, localhost is the development machine
 * so it need to connect to the remote mysql box
 */

if ($_SERVER == "localhost"){
    $dsn = 'mysql:dbname=weather;host=sajb.co.uk';
    $user = 'weatheruser';
    $password = 'dragon32';
}else{
    $dsn = 'mysql:dbname=weather;localhost';
    $user = 'weatheruser';
    $password = 'dragon32';
}
?>
